package com.cmwa.scbp.business.infodisclosure.report.controller;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import com.cmwa.scbp.business.infodisclosure.report.entity.ReportInfoVo;
import com.cmwa.scbp.business.infodisclosure.report.service.ReportInfoService;

@Controller
@RequestMapping("/business/reportInfo")
public class ReportInfoController {
	
	@Resource
	private ReportInfoService reportInfoService;
	
	@RequestMapping("/getReportInfoList")
	@ResponseBody
	public List<ReportInfoVo> getReprotInfoList(@RequestParam("reportType") String reportType) {
		return reportInfoService.getReportInfoList(reportType);
	}
}
